<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id 
 * @property int $uid 
 * @property int $client_id 
 * @property int $fence_id 
 * @property int $scene_id 
 * @property string $imei 
 * @property int $type 
 * @property string $longitude 
 * @property string $latitude 
 * @property string $location 
 * @property int $location_type 
 * @property string $content 
 * @property int $source 
 * @property string $create_at 
 * @property string $safe_range 
 * @property int $status 
 * @property string $read_time 
 */
class Alarm extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'alarm';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'client_id', 'fence_id', 'scene_id', 'imei', 'type', 'longitude', 'latitude', 'location', 'location_type', 'content', 'source', 'create_at', 'safe_range', 'status', 'read_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'client_id' => 'integer', 'fence_id' => 'integer', 'scene_id' => 'integer', 'type' => 'integer', 'location_type' => 'integer', 'source' => 'integer', 'status' => 'integer'];
}
